import numpy as np

def gen_golden_data_logsigmoid():
    
    input_x = np.random.uniform(-10, 10, [8, 2048]).astype(np.float16)

    neg_x = -input_x.astype(np.float16)
    softplus_neg_x = np.log(np.exp(neg_x) + 1)

    golden = (-softplus_neg_x).astype(np.float16)

    input_x.tofile("./input/input_x.bin")
    golden.tofile("./output/golden.bin")

if __name__ == "__main__":
    gen_golden_data_logsigmoid()
